home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Utilities
/
KPerfMon
/
Source
/
AppDelegate.h
next >
Wrap
Text File
|
1992-11-17
|
2KB
|
62 lines
/* Generated by Interface Builder */
#import <objc/Object.h>
extern float pollInterval;
@interface AppDelegate:Object
{
id monitor;
DPSTimedEntry stepEntry;
DPSTimedEntry flipEntry;
int tag;
id infoPanel;
float flipInterval;
BOOL displayCpu, displayDisk, displayMemory, displayNetwork;
char displayInfo[10];
id pollText;
id pollSlider;
id flipText;
id flipSlider;
id cpuSwitch;
id diskSwitch;
id memorySwitch;
id networkSwitch;
}
/******************************************************************************************************************************
* Delegation methods called by the Application object. *
******************************************************************************************************************************/
- appWillInit:sender;
- appDidInit:sender;
- appWillTerminate:sender;
/******************************************************************************************************************************
* New Methods *
******************************************************************************************************************************/
- info:sender;
- flipMonitor;
- setPollInterval:sender;
- setFlipInterval:sender;
- setDisplayCpu:sender;
- setDisplayDisk:sender;
- setDisplayMemory:sender;
- setDisplayNetwork:sender;
- saveDisplayInfo;
/******************************************************************************************************************************
* These two methods are here just to fool the Monitor object when we set the initial info to be viewed. *
******************************************************************************************************************************/
- selectedCell;
- (int)tag;
@end
/******************************************************************************************************************************
* This function is called by a timed entry. *
******************************************************************************************************************************/
void _step(DPSTimedEntry teNumber,double now,id monitor);
void _flip(DPSTimedEntry teNumber,double now,id self);